package com.doeis.manage.bean;

import java.sql.Timestamp;

import com.doeis.core.annotation.Associate;
import com.doeis.core.annotation.Table;
import com.doeis.core.bean.Entity;

@Table(name = "page")
public class Page extends Entity {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer author_uid;
	private String author_username;
	private Integer item_id;
	private Integer cat_id;
	private String page_title;
	private String page_content;
	private Integer sort_num;
	private Timestamp addTime;

	@Associate
	public static String tableName = "page";
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAuthor_uid() {
		return author_uid;
	}

	public void setAuthor_uid(Integer author_uid) {
		this.author_uid = author_uid;
	}

	public String getAuthor_username() {
		return author_username;
	}

	public void setAuthor_username(String author_username) {
		this.author_username = author_username;
	}

	public Integer getItem_id() {
		return item_id;
	}

	public void setItem_id(Integer item_id) {
		this.item_id = item_id;
	}

	public Integer getCat_id() {
		return cat_id;
	}

	public void setCat_id(Integer cat_id) {
		this.cat_id = cat_id;
	}

	public String getPage_title() {
		return page_title;
	}

	public void setPage_title(String page_title) {
		this.page_title = page_title;
	}

	public String getPage_content() {
		return page_content;
	}

	public void setPage_content(String page_content) {
		this.page_content = page_content;
	}

	public Integer getSort_num() {
		return sort_num;
	}

	public void setSort_num(Integer sort_num) {
		this.sort_num = sort_num;
	}

	public Timestamp getAddTime() {
		return addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public static String getTableName() {
		return tableName;
	}

	public static void setTableName(String tableName) {
		Page.tableName = tableName;
	}

}
